
#ifndef HISTOGRAMSETTINGSDIALOG_H
#define HISTOGRAMSETTINGSDIALOG_H

#include <QDialog>
#include <QGridLayout>
#include <QLineEdit>
#include <QCheckBox>
#include <QScrollArea>
#include <QLabel>
#include <QDialogButtonBox>
#include <QPushButton>


struct HData
{
    QLabel * lblName;
    QLineEdit * leHrmNum;
    QLineEdit * leF;
};

class HistogramSettingsDialog : public QDialog
{
    Q_OBJECT

    QGridLayout * grdlMain;
    QLineEdit * lePath;
    QPushButton * btnChoose;
    QCheckBox * chbUseSpaces;
    QScrollArea * sa;
    QWidget * scrollContents;
    QGridLayout * grdlFileSettings;

    QLabel * lblFTitle;
    QCheckBox * chbUseHrmNum;
    QCheckBox * chbUseHrmFactor;

    QDialogButtonBox * buttonBox;

    QList< HData > hCtlList;

public:
    explicit HistogramSettingsDialog( QWidget * parent = 0 );

    int Exec();

private:
    void prepareFSGrid();
};

#endif // HISTOGRAMSETTINGSDIALOG_H


